/**
 *
 */
package de.cbf.cam.dsa.rcp.model.entities;

/**
 * @author Surfer
 *
 */
public enum MonthDSAEnum {

//	UNKNOWN("<unbekannt>"),
	PRAIOS("Praios"),
	RONDRA("Rondra"),
	EFFERD("Efferd"),
	TRAVIA("Travia"),
	BORON("Boron"),
	HESINDE("Hesinde"),
	FIRUN("Firun"),
	TSA("Tsa"),
	PHEX("Phex"),
	PERAINE("Peraine"),
	INGERIMM("Ingerimm"),
	RAHJA("Rahja"),
	NAMENLOS("Namelose Tage");

	private static final int NORMAL_DAYS_IN_MONTH = 30;
	private static final int DAYS_IN_NAMENLOS	  =  5;

	private String name;

	MonthDSAEnum(String _name){
		this.name = _name;
	}

	public String getName(){
		return name;
	}

	public static int getDaysInMonth(MonthDSAEnum value){
		if(value.equals(NAMENLOS)){
			return DAYS_IN_NAMENLOS;
		}
//		if(value.equals(UNKNOWN)){
//			return 0;
//		}
		return NORMAL_DAYS_IN_MONTH;
	}
}
